package app.qrcode.browser.sunnyweatherpro.logic.network

import app.qrcode.browser.sunnyweatherpro.SunnyWeatherProApplication
import app.qrcode.browser.sunnyweatherpro.logic.model.PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Created by YiGo on 2022/4/15.
 */
interface PlaceService {
    @GET("v2/place?token=${SunnyWeatherProApplication.TOKEN}&lang=zh_CN")
    fun searchPlaces(@Query("query") query: String): Call<PlaceResponse>
}